let express = require('express')
let router = express.Router()
let user = require('./API/user')
let clublist = require('./API/clublist')
let memberlist = require('./API/memberlist')
let classlist = require('./API/classlist')
let advicelist = require('./API/advicelist')
let noticelist = require('./API/noticelist')
let actlist = require('./API/actlist')
let joinclub = require('./API/joinclub')

router.get('/manager_yang', user.get)
router.get('/clublist_yang', user.getclub)

router.get('/clublist_yang/all', clublist.all)
router.get('/clublist_yang/get', clublist.get)
router.get('/clublist_yang/add', clublist.add)
router.get('/clublist_yang/update', clublist.update)
router.get('/clublist_yang/del', clublist.del)

router.get('/memberlist_yang/all', memberlist.all)
router.get('/memberlist_yang/get', memberlist.get)
router.get('/memberlist_yang/add', memberlist.add)
router.get('/memberlist_yang/update', memberlist.update)
router.get('/memberlist_yang/del', memberlist.del)

router.get('/classlist_yang/all', classlist.all)
router.get('/classlist_yang/get', classlist.get)
router.get('/classlist_yang/add', classlist.add)
router.get('/classlist_yang/update', classlist.update)
router.get('/classlist_yang/del', classlist.del)

router.get('/advicelist_yang/all', advicelist.all)
router.get('/advicelist_yang/get', advicelist.get)
router.get('/advicelist_yang/add', advicelist.add)
router.get('/advicelist_yang/update', advicelist.update)
router.get('/advicelist_yang/del', advicelist.del)

router.get('/noticelist_yang/all', noticelist.all)
router.get('/noticelist_yang/get', noticelist.get)
router.get('/noticelist_yang/add', noticelist.add)
router.get('/noticelist_yang/update', noticelist.update)
router.get('/noticelist_yang/del', noticelist.del)

router.get('/actlist_yang/all', actlist.all)
router.get('/actlist_yang/get', actlist.get)
router.get('/actlist_yang/add', actlist.add)
router.get('/actlist_yang/update', actlist.update)
router.get('/actlist_yang/del', actlist.del)

router.get('/joinclub_yang/all', joinclub.all)
router.get('/joinclub_yang/get', joinclub.get)
router.get('/joinclub_yang/add', joinclub.add)
router.get('/joinclub_yang/update', joinclub.update)
router.get('/joinclub_yang/del', joinclub.del)



module.exports = router
